<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<link rel="stylesheet" href="css/main.css" media="all" />
<title>测试</title>
</head>
<body>
	<div>
		<input id="message" value="随便说点C:/temp/kkk.txt"/> <input type="button" onclick="sayRest();" value="讲"/>
	</div>
	<div id="debug">
	</div>
</body>
</html>
<script src="./jquery.3.2.1.min.js"></script>
<script>
	function sayRest() {
		$.ajax({
			type : 'get',
			url : 'http://localhost:8082/sayRest',
			data : {
				message : $('#message').val(),
				id : 100
			},
			async : false,
			success : function(data) {
				$('#debug').html(JSON.stringify(data));
			}
		});
	}
</script>